<?php include("db/connect.php"); 
$sqlinsertmaterial="insert into usematerial(pro_id,mat_id,use_qty) values(".$_POST["pro_id"].",".$_POST["mat_id"].",".$_POST["use_qty"].")";
$queryinsertmaterial=mysql_query($sqlinsertmaterial);
?>